package com.gong.DesignPattern.StatePattern;

/**
 * @author GongChang
 * @version 1.0
 * @date 2021/7/5 0005 9:03
 */
public class Context {
    private State state;

    public Context() {
        state = null;
    }

    public void setState(State state){
        this.state = state;
    }

    public State getState(){
        return state;
    }
}
